package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.IpgReturn;

public interface IpgReturnService {

	IpgReturn findById(int id);

	void saveIpgReturn(IpgReturn ipgReturn);

	void deleteIpgReturn(int id);

	IpgReturn searchIpgReturn(String orderId);

	List<IpgReturn> searchIpgReturn(Date fromDate, Date toDate, String orderBy);

	Page<IpgReturn> searchIpgReturn(Date fromDate, Date toDate, String orderBy,
			GridPramDTO gridPramDTO);
}
